package com.jackrain.nea.ext.sequence.mapper;

import com.jackrain.nea.ext.sequence.entity.SequenceEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author xubin
 * 2017-11-15
 */
@Mapper
public interface SequenceMapper {

    @Select("select * from ad_sequence where name=#{name}")
    SequenceEntity findByName(@Param("name") String name);


}
